add

function add(value: T): boolean

Append an element to the end of this collection.

The element is not added if this collection does not allow duplicates and the element is already contained in this collection.

Return

true if the element was added, false otherwise

Since

0.6.0

Parameters

value

the element to add